let a = {
    name: 'geyao',
    age: 18
}
let b = {
    person: a
}

a.sex = a= {
    name: 'geyao2',
    age: 19
}
console.log(b.sex,a,b.person.sex)